package com.food.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

@Getter
@Setter
@ToString
@TableName("top_selling_foods")
public class TOP10 implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 美食ID
     */
    @TableField("food_id")
    private Integer foodId;

    /**
     * 美食名称
     */
    @TableField("name")
    private String name;

    /**
     * 美食分类
     */
    @TableField("category")
    private Integer category;

    /**
     * 总销量
     */
    @TableField("total_quantity")
    private Integer totalQuantity;

    /**
     * 总销售额
     */
    @TableField("total_sales")
    private Integer totalSales;

}
